<template>
  <mu-card-header style="display: flex;align-items:center" :title="userinfo.username" :sub-title="userinfo.mobile">
    <mu-avatar slot="avatar">
      <img :src="userinfo.userhead || defaultHead" />
    </mu-avatar>
  </mu-card-header>
</template>
    <script>
    import head from '@/assets/image/avatar.png'
    import store from "store";
export default {
  data() {
    return {
        defaultHead:head,
      userinfo:{
        userhead:'',
        username:'',
        mobile:'',
      },



    };
  },
  mounted(){

   this.userinfo.username= store.get('adminuser').adminuser.realName
   this.userinfo.userhead= store.get('adminuser').adminuser.headImage
   this.userinfo.mobile= store.get('adminuser').adminuser.mobile

  },


};
</script>
